import abstraction.ISkill;
import abstraction.hero.Diana;
import abstraction.hero.Irelia;


import java.util.Scanner;

public class Main {

/*    public static void main(String[] args) {
        System.out.println("Hello World!");
        String name = Main.getPlayerInput();
        if (name.equals("Diana")){
            Diana a = new Diana();
            a.r();
        }
        if (name.equals("Irelia")){
            Irelia irelia = new Irelia();
            irelia.r();
        }
        if (name.equals("Camile")){
            Camile camile = new Camile();
            camile.r();
        }

    }*/

    public static void main(String[] args) {
        String name = Main.getPlayerInput();
        ISkill skill = null;
        if (name.equals("Diana")){
            skill = new Diana();

        }
        if (name.equals("Irelia")){
            skill = new Irelia();

        }
        skill.r();
    }
    private static String getPlayerInput(){
        System.out.println("Enter a hero's name");
        Scanner scan = new Scanner(System.in);
        String name = scan.nextLine();

        return name;
    }
}